CME End-End for beginners
CME-Topic 1: CME Overview
Introduction
Cisco CME is a feature embedded into Cisco IOS which provides call processing for Cisco IP Phones.
CME provides a cost-effective, highly reliable, IP communications solution for the small office
It provides solution which is easy to deploy, administer and maintain
It enables Cisco High End Multi Service Access routers to provides low end PBX features which are more cost effective, reliable and feature rich
CME is an optional component added to Cisco IOS to provide IP Telephony services using the same hardware
Cisco IPC Express system integrates data, voice, security, and routing into a single IP communications platform. No separate server or appliance is required for any of these network capabilities
Cisco 2600XM, 2800, 3700, or 3800 ISRs can use these same platforms to deploy Cisco IPC Express
Cisco IPC Express supports Hot Standby Router Protocol (HSRP) features and can be used with Survivable Remote Site Telephony (SRST) to deliver increased redundancy and availability for telephony features
Benefits of CME
Lower cost of ownership
Reduce Equipment Costs
Reduced Network Administration Costs
Reduced Cost of Adds, move and Changes
Productivity Enhancement
Easily Replicate Telephony Configuration
Simplify Network Management Using the GUI
Basic Operation
The CME system provides PBX-like features and functions for IP phones. These features are the result of a centralized point of control and intelligence. The CME router provides all of the call control and intelligence needed for IP Phones to place and receive calls.
The IP Phones and the CME router use SCCP to communicate.
CME Features
Cisco CME encompasses the following features
Basic Automatic Call Distribution (B-ACD)
Customer Contact
Voice and Video Telephony
Rich-Media Conferencing
Third-Party Applications (TCL Scripts)
Unified Communications (Voicemail, Presence etc)
CME System Components
Cisco IPC Express includes the following features
Call processing software (Cisco CME)
IP Communications platform
IP-based applications
IP-based endpoints
IP Based Applications
Several applications can be deployed with Cisco IPC Express to round out its business communications feature set. These include AA and voice mail applications such as Cisco UE and Cisco Unity.
Cisco Unity Express
Cisco UE is a voice mail and AA application available in a network module or advanced integration module (AIM) form factor that fits into the Cisco communications platform. To deploy Cisco UE, you order the hardware and purchase a feature license for the appropriate number of mailboxes.
Cisco Unity
Cisco Unity is a full-featured Windows-based voice messaging, unified messaging, and AA application. Cisco Unity features include support for up to 250,000 users and 19 languages, networking capability with Cisco UE and other traditional voice mail systems, distribution list capability, and a unified communications engine that supports both Lotus Domino and various Microsoft Exchange environments.
Deciding Between Cisco CME and CUCM
You have to consider many factors when deciding between Cisco Call Manager Express and Cisco Call Manager for the IP telephony application for your office or network. First consider the WAN environment. If the WAN has not been upgraded to deliver QoS protection for voice, or if there is limited WAN bandwidth, or if a WAN does not exist, a locally delivered call processing service is best for remote offices. In this scenario, Cisco CME delivers a very cost-effective solution.
Another factor to consider is the type of operating environment required. If you require local MOH and local AA, and the business conditions are such that calls are typically placed to the PSTN rather than among different sites or offices, Cisco CME may be the most appropriate solution.
You should also consider the telephony feature set required by the employees. For example, Cisco IPC Express does not support sophisticated call center applications. Therefore, if these are essential features, you would select Cisco Call Manager rather than Cisco CME.
Businesses that typically lack the time, financial, or technical resources to manage a sophisticated call processing system may also consider Cisco CME, because it is easy to install and is a single IP communications platform to manage.
CME-Topic 2: Installation
CME Licenses
IOS License
Feature License
Phone User License
Getting Necessary Files
Basic Files
A tar archive contains the basic files you need for Cisco Unified CME. Be sure to download the correct version for the Cisco IOS software release that is running on your router. The basic tar archive generally also contains the phone firmware files that you require, although you may occasionally need to download individual phone firmware files.
GUI Files
A tar archive contains the files that you need to use the Cisco Unified CME graphical user interface (GUI), which provides a mouse-driven interface for provisioning phones after basic installation is complete. Cisco Unified CME GUI files are version-specific; GUI files for one version of Cisco Unified CME are not compatible with any other version of Cisco Unified CME. When downgrading or upgrading Cisco Unified CME, the GUI files for the old version must be overwritten with GUI files that match the Cisco Unified CME version that is being installed.
XML Template Files
The file called xml.template can be copied and modified to allow or restrict specific GUI functions to customer administrators, a class of administrative users with limited capabilities in a Cisco Unified CME system.
MOH Files
An audio file named music-on-hold.au provides music for external callers on hold when a live feed is not used.This file is included in the tar archive with basic files (cme-basic-…).
Script Files
Archives containing Tcl script files are listed individually on the Cisco Unified CME software download website. For example, the file named app-h450-transfer.2.0.0.9.zip.tar contains a script that adds H.450 transfer and forwarding support for analog FXS ports.
Misc. Files
These Misc. files includes Phone Firmware, Bundle TSP Achieve etc
CME Installation
Get necessary files from the Cisco websites
Place these files to TFTP server
Copy these files to router flash memory using
Copy command (takes longer)
Archive command (quick)
Step 1: Download source files from www.cisco.com
Step 2: Copy these files to TFTP server root directory
Step 3: Use the following commands to copy source files to the router flash memory
If the file is an individual file, use copy command
Router#copy tftp://192.168.1.1/P00307020300.sbn flash:
If the file is a tar file, use archive tar command to extract the file to flash memory
Router#archive tar /xtract source-url flash:/file-url
Router#archive tar /xtract tftp://192.168.245.1/cme-full-7.0.0.0.tar flash:/
Step 4: Verify the installation using show flash: command
Router# show flash: or dir flash:
31 128996 Sep 19 2005 12:19:02 -07:00 P00307020300.bin
32 461 Sep 19 2005 12:19:02 -07:00 P00307020300.loads
33 681290 Sep 19 2005 12:19:04 -07:00 P00307020300.sb2
34 129400 Sep 19 2005 12:19:04 -07:00 P00307020300.sbn
CME-Topic 3: Basic Configuration
Step 1: Configure Telephony Service Parameters
To enable the CME functionality of a Cisco router running a CME-installed image, use the telephony-service command in global configuration mode. This will bring you into the telephony service configuration prompt. Configure the maximum number of phones using the max-ephones number command and maximum number of directory numbers using max-dn number.
The following are the basic configuration commands required in telephony-service mode
MAX-DN
MAX-EPHONES
IP SOURCE-ADDRESS
gw1(config)#telephony-service
gw1(config-telephony)#max-dn 32
gw1(config-telephony)#max-ephones 10
gw1(config-telephony)#ip source-address 10.110.5.94
Configure the phone keep alive timeout period to be 15 seconds by issuing the keep alive seconds command. This timer specifies how long CME will wait before considering an IP phone unreachable and taking action to deregister it. The default timeout is 30 seconds.
gw1(config-telephony)#keepalive 15
Configure a system message which will appear on phones associated with the CME. If you will change the system message during operational mode then this will reflect immediately
gw1(config-telephony)#system message Cisco CME
Next, tell the router to generate the configuration files for phones that associate with the CME using the create cnf-files command. It may take a couple minutes for the configuration process to be enabled.
gw1(config-telephony)#create cnf-files
Step 2: Create Directory Numbers
When CME configuration references an “ephone,” it is referring to an Ethernet phone connected via an IP network. An ephone represents the physical phone, and can be associated with a phone MAC address and other physical properties. A phone will only have one globally-unique, hard-coded MAC address, so to uniquely identify an ephone on your network, refer to the MAC address.
At the logical layer of the VoIP model, a directory number represents a logical phone with an associated phone number and name (label). A Cisco IP phone can be associated with more than one directory number at a time, effectively making it a multi-line device with each line possessing its own directory number. The soft buttons on an IP phone each represent a single line. To configure a directory number, use the global configuration ephone-dn tag command. Use a tag of 1 for the first phone.
gw1(config)#ephone-dn 1
At the ephone-dn configuration prompt, use the number number command to configure a phone number of 5001. Assign a name of “Host A” with the name name command. This will be the directory number associated with host A’s phone, which we will configure shortly.
gw1(config-ephone-dn)#number 5001
gw1(config-ephone-dn)#name Phone1
Step 3: Create Phones
Before configuring the phones on the router, you will need to find out the MAC addresses of the hosts. Associate the MAC address with this ephone using the mac-address address command. The address must be in the format HHHH.HHHH.HHHH.
gw1(config)#ephone 1
gw1(config-ephone)#mac-address 0002.B3CE.72A3
Use the type type command to configure the type of phone. Since you are configuring Cisco IP Communicator to simulate Ethernet phones, use cipc as the phone type.
gw1(config-ephone)#type cipc
Assign the first button on the phone to directory number 1 using the button line command. The button command assigns buttons to phone lines, as well as determines the type of ringer assigned to that phone line. The format for the button command we will use is “1:1”. The first 1 indicates the first button. The colon indicates a normal ringer. The second 1 represents directory number 1, previously configured with the ephone-dn 1 command.
gw1(config-ephone)#button 1:1
Step 4: Specifying the necessary load information
This step only required in case of hard phone
CME extracts firmware “Load File” into flash for all supported devices
Newer CME versions organize these into sub-directories
Firmware must be specified using the “load” command under telephony-service mode
These files should also be made available via TFTP
The first step is to make firmware files available for phones via TFTP. CME router organize all files in directories which you can see using following commands
gw1#show flash
gw1#dir flash:
To publish files via TFTP please use the following command for every file from the specific phone directory
gw1(config)# tftp-server flash:/phone/7940-7960/P00308000500.bin alias P00308000500.bin
gw1(config)# tftp-server flash:/phone/7940-7960/P00308000500.loads alias P00308000500.loads
gw1(config)# tftp-server flash:/phone/7940-7960/P00308000500.sb2 alias P00308000500.sb2
gw1(config)# tftp-server flash:/phone/7940-7960/P00308000500.sbn alias P00308000500.sbn
After that define load files for all phone models, you can check from Cisco website for the load files for each phone (Tip: search for “Cisco Unified CME supported firmware” in google to find link page for this information. Look for all files against all specific phone model and file with * will be load file for the phone). Use the following command to specify this file
gw1(config-telephony)#load 7960-7940 P00308000500
The last command for this series will be
gw1(config-telephony)#create cnf-files
?
CME-Topic 4: Deployment Models
Today is weekend and I have decided to study more topics to cover the gape due to office workload during the whole week. So lets start with deployment models (some theory)….
Deployment Models
PBX System
Key System
Hybrid Model
PBX System
Digital PSTN trunk lines, with direct inward dial (DID) for direct access to individual phone extensions and one or more receptionists
Each phone user has his or her own private extension number
Each IP phone normally has only a single phone number associated with it but in some cases you have to assign two extension to a single phone
router#show running-config
ephone-dn 4 dual-line
number 1001
name Boss
ephone-dn 5 dual-line
number 1002
name Assistant
ephone 7
mac-address 000d.aa45.3f6e
button 1:4
ephone 8
mac-address 000d.bb46.2e5a
button 1:5 2:4
In above example, ephone 7 is the executive’s phone, with extension 1001 on line button 1. Ephone 8 is the assistant’s phone, with the assistant’s personal extension 1002 on button 1 and the executive’s extension 1001 shared on button 2. When a call arrives for 1001, both phones ring, and either phone can answer the call. When a call arrives for 1002, only the assistant’s phone rings. When the executive is using extension 1001, the assistant’s phone is unable to access the line. However, the display on the IP phone indicates that that line is in use so that the assistant knows that the executive is busy with a call
Key Switch
One phone line and many phones
Often there is no need for personal extension numbers
Cannot afford to hire a dedicated telephone receptionist
router#show running-config
ephone-dn 1
number 4085550101
no huntstop
preference 0
ephone-dn 2
number 4085550101
preference 1
ephone 1
mac-address 000d.aa45.3f6e
button 1:1 2:2
ephone 2
mac-address 000d.bb46.2e5a
button 1:1 2:2
ephone 3
mac-address 000d.cc47.1d49
button 1:1 2:2
ephone 4
mac-address 000d.dd48.0c38
button 1:1 2:2
Hybrid Model
This model is combination of both above deployment models and mostly used model because in most of the deployments you require one-to-one and one-to-many mapping. PBX and keyswitch configurations can be mixed on the same IP phone and can include both unique per-phone extensions for PBX-style calling and shared lines for keyswitch-style call operations.
CME-Topic 5: GUI Installation
Here we go with one more topic for today. In this part of the series, I will detail how to enable the GUI as well as setting up authentication for the GUI interface. So just follow with me to get it working.
Configuration Steps
Enable HTTP Server
Specify Path for GUI files
Enable Authentication
Configure GUI access users
Allow edit access from GUI
Step 1: Enable HTTP Server
For GUI to work we need web server running, so use the following command to enable HTTP server
CME(config)#ip http server
Step 2: Specify path for GUI files
After enabling HTTP server now we have to tell HTTP server where to look for GUI files. You can see the location of your GUI files in flash using the following command and look for directory “gui”
CME#dir flash:
Now use below command to configure path
CME(config)#ip http path flash:/gui/
Step 3: Enable Authentication
Now lets configure authentication method for user access. The following is quick review of available options
aaa – Use aaa login service
enable – Uses the enable password that is set on the router (This is the default authentication method)
local – Uses a local username and password that is set on the router using the username command
tacacs – Uses a TACACS server
I am using “local” authentication method for simplicity
CME(config)#ip http authentication local
Step 4: Configure GUI access users
As i used “local” authentication method for user validation, so i have to configure users for admin and end users to access GUI
CME(config)#telephony-service
CME(config-telephony)#web admin system name admin password admin
CME(config-telephony)#web admin customer name user password user
Step 5: Allow edit access from GUI
We have to add capability to the GUI for users to edit phones and other settings using the following command
CME(config-telephony)#dn-webedit
CME(config-telephony)#time-webedit
We have done with all required configuration and have to test whether its working or not. To check GUI use http://server-ip-address/telephony_service.html (or whatever directory name you have. If everything goes well, then it will ask you to enter username and password which we have configure in Step 4. After successful login you will see the following screen.
Troubleshooting Commands:
CME#show ip http server status
CME#show ip http client all
CME-Topic 6: Auto-Registration and Auto-Assignment
By default, CME registers any ephone (you can disables this feature)
Ephone registration are not saved
Auto-assignment associates ephone-dns to new ephones
Auto-registered phones need to be registered to atuo-assign
Normally when you configure basic telephony-service parameters, then phone can register with CME although no DN will be assigned to them. You can disable this by using the following command
CME(config-telephony)#no auto-reg-ephone
After this command the phone which will try to register will receive message “Registration Rejected: No configuration entry…..”. You can also see which phones attempted registration with CME using below command
CME#show ephone attempted-registration
With auto-registration enabled you can configure auto-assignment of ephone-dn to the phones when they try to register with CME for any type of phone
CME(config-telephony)#auto assign 1 to 6
CME-Topic 7: Configuring CME using setup wizard
Hi everyone good day after weekend and welcome back to study. Today i have planned to cover a topic which is not well fit into this series of topics as we have already configured CME using manual method but at least its good to know about configuring CME using setup wizard with auto registration enabled. So lets start with step by step configuration setup and verification. I assumed that you have already copied all necessary files using “CME-Topic 2: Installation”.
To start the process, run below mentioned series of commands
CME(config)#telephony-service setup
Note: If you have already configured any telephony-service parameter manually then you will get message to remove all configuration before proceeding with setup wizard.
Do you want to setup DHCP service for your IP Phones? [yes/no]: no
If you already have DHCP on you LAN then enter “no” for this
Do you want to start telephony-service setup? [yes/no]: yes
Configuring Cisco IOS Telephony Services :
Enter the IP source address for Cisco IOS Telephony Services :192.168.245.2
Enter the Skinny Port for Cisco IOS Telephony Services : [2000]:
How many IP phones do you want to configure : [0]: 10
Do you want dual-line extensions assigned to phones? [yes/no]: yes
What Language do you want on IP phones :
0 English
1 French
2 German
3 Russian
4 Spanish
5 Italian
6 Dutch
7 Norwegian
8 Portuguese
9 Danish
10 Swedish
11 Japanese
[0]:
Which Call Progress tone set do you want on IP phones :
0 United States
1 France
2 Germany
3 Russia
4 Spain
5 Italy
6 Netherlands
7 Norway
8 Portugal
9 UK
10 Denmark
11 Switzerland
12 Sweden
13 Austria
14 Canada
15 Japan
[0]:
What is the first extension number you want to configure : 2001
Do you have Direct-Inward-Dial service for all your phones? [yes/no]: yes
Enter the full E.164 number for the first phone :4846782001
Do you want to forward calls to a voice message service? [yes/no]: yes
Enter extension or pilot number of the voice message service:2222
Call forward No Answer Timeout : [18]: 10
*Mar 1 00:48:57.123: %LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up
*Mar 1 00:48:57.131: %LINK-3-UPDOWN: Interface ephone_dsp DN 1.2, changed state to up
*Mar 1 00:48:57.135: %LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up
*Mar 1 00:48:57.143: %LINK-3-UPDOWN: Interface ephone_dsp DN 2.2, changed state to up
*Mar 1 00:48:57.151: %LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up
*Mar 1 00:48:57.159: %LINK-3-UPDOWN: Interface ephone_dsp DN 3.2, changed state to up
*Mar 1 00:48:57.163: %LINK-3-UPDOWN: Interface ephone_dsp DN 4.1, changed state to up
*Mar 1 00:48:57.171: %LINK-3-UPDOWN: Interface ephone_dsp DN 4.2, changed state to up
*Mar 1 00:48:57.175: %LINK-3-UPDOWN: Interface ephone_dsp DN 5.1, changed state to up
*Mar 1 00:48:57.175: %LINK-3-UPDOWN: Interface ephone_dsp DN 5.2, changed state to up
*Mar 1 00:48:57.175: %LINK-3-UPDOWN: Interface ephone_dsp DN 6.1, changed state to up
*Mar 1 00:48:57.183: %LINK-3-UPDOWN: Interface ephone_dsp DN 6.2, changed state to up
*Mar 1 00:48:57.183: %LINK-3-UPDOWN: Interface ephone_dsp DN 7.1, changed state to up
*Mar 1 00:48:57.183: %LINK-3-UPDOWN: Interface ephone_dsp DN 7.2, changed state to up
*Mar 1 00:48:57.183: %LINK-3-UPDOWN: Interface ephone_dsp DN 8.1, changed state to up
*Mar 1 00:48:57.183: %LINK-3-UPDOWN: Interface ephone_dsp DN 8.2, changed state to up
*Mar 1 00:48:57.183: %LINK-3-UPDOWN: Interface ephone_dsp DN 9.1, changed state to up
*Mar 1 00:48:57.187: %LINK-3-UPDOWN: Interface ephone_dsp DN 9.2, changed state to up
*Mar 1 00:48:57.187: %LINK-3-UPDOWN: Interface ephone_dsp DN 10.1, changed state to up
*Mar 1 00:48:57.187: %LINK-3-UPDOWN: Interface ephone_dsp DN 10.2, changed state to up
CNF-FILES: Clock is not set or synchronized, retaining old versionStamps
CNF files update complete (post init)
Verification
After setup is completed, you can verify auto configuration using
CME#show run
Now you can register you phone with CME and then can verify using below commands
CME#show ephone summary
CME-Topic 8: Configuring Redundancy
By continuing from the last topic lets configure redundancy for CME. Before configuring this lets make sure both primary CME and secondary CME have same configurations like below
Configuration for Primary
telephony-service
max-ephones 10
max-dn 10
ip source-address 192.168.245.2 port 2000
auto assign 1 to 10
system message CME Primary
dialplan-pattern 1 4846782… extension-length 4
voicemail 2222
max-conferences 8 gain -6
web admin system name admin password realtime
web admin customer name user password realtime
dn-webedit
time-webedit
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00
Configuration for Secondary
telephony-service
max-ephones 10
max-dn 10
ip source-address 192.168.245.3 port 2000
auto assign 1 to 10
system message CME Primary
dialplan-pattern 1 4846782… extension-length 4
voicemail 2222
max-conferences 8 gain -6
web admin system name admin password realtime
web admin customer name user password realtime
dn-webedit
time-webedit
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00
Now lets start the actual part of this topic. First modify parameters on Primay CME as shown below
CME1(config-telephony)#ip source-address 192.168.245.2 port 2000 secondary 192.168.245.3
On Secondary modify parameters using following command
CME2(config-telephony)#ip source-address 192.168.245.3 port 2000 secondary 192.168.245.2 rehome 5
We have to specify “rehome” option only on secondary, so that users will be moved back to Primary with 5 seconds as its online.
Verification
As we have auto-registration enabled on both CMEs, so let register CIPC with Primary and make sure that CIPC have both CMEs configured as TFTP server in preferences=>Network tab
After registration you can see CIPC screen for System Message which is show “CME Primary” as configure under telephony-service mode
Now simple shutdown interface on Primay CME and phone will be registered with Secondary CME after keepalive timer will expires and you will get message on CME1 that phone has been unregistered abnormally.
CME1(config-if)#shut
*Mar 1 03:04:44.527: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Mar 1 03:04:45.527: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
*Mar 1 03:05:54.755: %IPPHONE-6-UNREGISTER_ABNORMAL: ephone-1:SEP002481417C73 IP:192.168.245.1 Socket:1 DeviceType:Phone has unregistered abnormally.
Now lets see CIPC screen status
At the same time if you see ephone status on CME1 you will get output like show below
CME1#do sh ephone sum
hairpin_block:
ephone-1 Mac:0024.8141.7C73 TCP socket:[-1] activeLine:0 DECEASED
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0 primary_dn: 1*
IP:192.168.245.1 CIPC keepalive 41 1:1
Max 10, Registered 0, Unregistered 0, Deceased 1, Sockets 0
ephone_send_packet process switched 0
As you enable interface on CME1, the phone will register back to the Primary CME after keepalive time.
CME1(config-if)#no shut
CME1(config-if)#
*Mar 1 03:25:06.819: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 03:25:07.819: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
*Mar 1 03:25:39.107: %IPPHONE-6-REGISTER: ephone-1:SEP002481417C73 IP:192.168.245.1 Socket:1 DeviceType:Phone has registered.
*Mar 1 03:25:39.147: %IPPHONE-6-REG_ALARM: 18: Name=SEP002481417C73 Load= 7.0.2.0 Last=Failba
CME-Topic 9: Voice Dial Peer Hunting
The dial peer hunting function comes into play when you create two or more dial peers that match the same telephone number but reference different destination devices. You can set many parameters to adjust the order in which matching dial peers are selected. The default behavior is called longest match. For longest match, the dial peer that most exactly matches the telephone number is preferred. A longest match selects the destination pattern that matches the desired number using the fewest “.” wildcard characters. The best kind of longest match is an exact match, where no wildcards are used and the destination pattern and telephone number match literally and exactly.
The preference command is used to define a specific preference order for selecting the dial peers. The call goes to the dial peer with the lowest preference value. The default preference value is 0.
dial-peer voice 101 pots
destination-pattern 2001
preference 1
port 1/0/0dial-peer voice 102 pots
destination-pattern 2001
preference 2
huntstop
port 1/0/1
dial-peer voice 200 voip
destination-pattern 20..
session target ipv4:10.0.4.2
The huntstop command option tells the dial peer hunting mechanism not to try to find any further dial peer matches. Instead, the dial peer hunting stops at the dial peer containing the huntstop command. If no available voice port is found, it returns a busy tone to the caller.
CME-Topic 10: ephone-dn Dial Peers and Voice Ports Concepts
The Cisco CME CLI configuration of IP phones and IP phone lines does not directly include dial peers or (virtual) voice ports.
The dial peer and virtual voice port resources used by Cisco CME are hidden inside the ephone-dn command. This simplifies the configuration steps needed to create an IP phone line.
It avoids the manual process of creating POTS dial peers to bind phone numbers to virtual voice ports.
ephone-dn 4
number 1001
name John Smith
preference 1
This ephone-dn command generates the configuration sub-elements
dial-peer voice 20004 pots
destination-pattern 1001
preference 1
huntstop
port 50/0/4
voice-port 50/0/4
station-id number 1001
station-id name John Smith
Virtual voice port numbering 50/0/4 convention varies by router type, but it’s typically slot/card/port. The value 50 was arbitrarily chosen as the virtual “slot” number for the virtual voice ports just to avoid contention with the routers’ physical network module slots. Currently, no routers (that support Cisco CME) have 50 physical slots, so there’s no confusion with physical hardware slot numbers. The middle card number value is always 0. The port number, 4 in this example, matches the ephone-dn tag value (as in ephone-dn 4). The dial peer tag numbering (20004) is not significant, but it usually has some correlation to the ephone-dn tag number, which is 4 in this example.
If you execute the IOS command show running-config, you see only the ephone-dn commands you have entered, not the dial peer and virtual voice port commands. This is because the ephone-dn command automatically manages these subcommands for you, and there is no need for these to take up space in the router configuration. However, you can see the ephone-dn generated dial peers and virtual voice ports using the Cisco IOS commands show dial-peer summary and show voice-port summary.
CME-Topic 11: Configuring Softkey Template
Configuring softkey template is very easy in CME and its required to customize the layout for different users as per their requirements and business need. Its a two step process to configure
Configure softkey template
Assign softkey template to ephone
Lets first see the default softkey layout as show below
The following are the available options under softkey template section
alerting Softkey order for alerting (ring out) state
Acct Account Code
CallBack Call back
Endcall End call
connected Softkey order for connected state
Acct Account Code
ConfList List all participants in conference
Confrn Conference
Endcall End call
Flash Hook Flash
HLog HLog
Hold Hold
Join Join established call to conference
Park Call Park
RmLstC Remove last conference participant
Select Select call to join in conference
Trnsfer Call Transfer
hold Softkey order for HOLD state
Join Join established call to conference
Newcall New call
Resume Resume
Select Select call to join in conference
idle Softkey order for IDLE state
Cfwdall = Call Forward All
ConfList = List all participants in conference
Dnd = Do not Disturb
Gpickup = Group Call Pick Up
Hlog = Used to login and logout from hunt groups
Join = Join established call to conference
Login = Login
Newcall = New call (if your are already in one)
Pickup = Call Pick Up
Redial = Redial last number
RmLstC = Remove last conference participant
ringing Softkey order for ringing state
Answer Answer
Dnd Do not Disturb
HLog HLog
seized Softkey order for seized state
CallBack Call back
Cfwdall Call forward all
Endcall End call
Gpickup Group Call Pick Up
HLog HLog
MeetMe MeetMe Conference
Pickup Call Pick Up
Redial Redial
Step 1: Configure Softkey Template
For the simplicity of this illustration we will configure template only for “idle” state
CME1#configure terminal
CME1(config)#ephone-template 20
CME1(config-ephone-template)#softkeys idle Cfwdall Gpickup Login Redial
Step 2: Assign Softkey Template to ephone
CME1#configure terminal
CME1(config)#ephone 1
CME1(config-ephone)#ephone-template 20
CME1(config-ephone)#restart
After restart the phone should look like this
CME-Topic 12: Codec Configuration
Sometimes we need to define different CODECs for different endpoints according to their location. There are two ways to specify codec for end devices
Using ephone-template
Configuring codec under ephone configuration
Option 1: Using ephone-template
The main purpose of using ephone-template is to define some common parameters for ephones rather defining these each time
CME1#configure terminal
CME1(config)#ephone-template 20
CME1(config-ephone-template)#codec ?
g711ulaw Use G.711 u Law 64000 bps voice codec (default)
g729r8 Use G.729 8000 bps voice codec to save network bandwidth
CME1(config-ephone-template)#codec g711ulaw
After configuring ephone-template we have to apply it to each ephone
CME1#configure terminal
CME1(config)#ephone 1
CME1(config-ephone)#ephone-template 20
CME1(config-ephone)#restart
Option 2: Configuring Codec under ephone configuration
This method is useful if you have small number of ephones, otherwise if you have to change codec in future then you have to do if for all ephones which is waste of time for large deployments.
CME1#configure terminal
CME1(config)#ephone 1
CME1(config-ephone)#codec g711ulaw
CME1(config-ephone)#restart
CME-Topic 13: ephone-dn Secondary Number
The ephone-dn secondary number allows you to associate a second phone number with the same IP phone line. You can use this to create a simple hunt-on-busy configuration. This allows you to use the dial peer hunt-on-busy mechanism to make a call roll over from one line to another, even when the lines have different primary phone numbers
ephone-dn 4
number 1001 secondary 1007
name John Smith
preference 1 secondary 2
A more detail example
ephone-dn 4
number 1001 secondary 1007
name John Smith
no huntstop
preference 1 secondary 2
ephone-dn 5
number 1007 secondary 1001
name Jane Smith
preference 1 secondary 2
no huntstop
Note: The dial peer hunting mechanism works only for hunt on busy. It does not provide hunting on no-answer timeout and no huntstop is the default configuration for a dial peer.
CME-Topic 14: Shared Line Configuration
Shared line and overlay configuration used to share single line with multiple phones but functionality is totally different. I will discuss different scenarios for line sharing to make good understanding.
Scenario 1: One ephone-dn for multiple phones
In this scenario we will assign single DN to multiple phones but downside of this configuration is that if line will be in use on one phone it can’t be used on other phone. Below are the configuration
First call to 1001:
Both ephone 1 and 2 will ring.
ephone 1 answers call
ephone 2 will show remote in use state
Second incoming call:
will go to ephone 1 second channel
3rd incoming call:
will busy out, the call will not roll over to ephone 2
ephone 2 can’t use that line for outgoing call
Scenario 2: Using multiple DNs with same number
To route calls to other phone with same DN we have to configure multiple DNs with same number with preference. To avoid the loop we can use huntstop and huntstop channel.
huntstop: Will stop looking next DN with same pattern and give busy tone
hutstop channel: Will stop call routing to 2nd channel in case dual-line configuration and try other phone with same number. We must use no huntstop, otherwise 2nd call will receive busy tone rather routing to next phone.
The configuration should look like this
ephone-dn 1 dual-line
number 1001
preference 0
huntstop channel
no huntstop
ephone-dn 2 dual-line
number 1001
preference 1
huntstop channel
ephone 1
button 1:1
ephone 2
button 1:2
First incoming call:
Phone 1 will ring because it has preference 0
Line on Phone 2 is available for use
Second incoming call:
Due to low preference call should go phone 1 but due to because of huntstop channel and no huntstop commands call rollover to phone 2
Phone 2 will ring,
Third Call:
Due to low preference call should go phone 1 but due to because of huntstop channel and no huntstop commands call rollover to phone 2
As this is 2nd call for phone 2 and huntstop channel has been configured
Call will receive busy tone due to default huntstop configuration
CME-Topic 15: Overlay DN
This feature provides a way to overcome physical button limits on your IP phones. Instead of using normal one-line-to-one-button mapping, you can map up to ten lines or ephone-dns to the same physical phone button, which allows you to use the same phone button to answer incoming calls on any of the up to ten ephone-dns associated with the button.
NOTE: Although you can map ten ephone-dns to the same button but you can work with and see only one ephone-dn at a time.
Overlay DN acts as a multiplexer and dynamically selects the most appropriate ephone-dn to present on an IP phone button from within the configured overlay-dn set. When you receive incoming calls, the first ringing ephone-dn in the overlay set is presented. When you make an outgoing call, the first idle ephone-dn in the overlay set is selected.
Below is very basic configuration
ephone-dn 1
number 1001
name Phone 1
ephone-dn 2
number 1002
name Phone 2
ephone 1
button 1o1,2
In the above scenario
First Incoming Call:
Ring Phone 1 and Phone 2
Phone 1 answers the call
Second Incoming Call:
Only Phone 2 will ring
No calls waiting on Phone 1 because we are using “o”
Below are the option with can use for button definition to achieve different functionality
o creates an overlay set without call waiting
c creates an overlay set with call waiting
x creates an overlay rollover / expansion button – for use when a primary overy button is occupied with a call instead of using call waiting.
If we need calls waiting alert then we can do configuration as below
ephone-dn 1
number 1001
name Phone 1
ephone-dn 2
number 1002
name Phone 2
ephone 1
button 1c1,2
In this scenario
First Incoming Call:
Ring Phone 1 and Phone 2
Phone 1 answers the call
Second Incoming Call:
Phone 2 will ring
User on Phone 1 will hear call waiting beep
Called Name Display for Overlay Extensions
If you assign multiple unrelated extensions to the same phone button using an overlay, the phone user needs to know which extension is being called. Cisco CME 3.2 introduced the called-name dialed number identification service (DNIS) to address this problem. This uses the command service dnis overlay (set under telephony-service). If this command is active, an incoming call on the (hidden) second through last members of the overlay set displays the extension name that is being called on the bottom line of the Cisco IP phone display. This name is set using the name command in the ephone-dn extension configuration. This allows the phone user to see at a glance which extension is ringing and allows the phone user to answer the call with a greeting appropriate to the specific extension. When the first (primary) extension in the overlay set is called, no name display appears, because the identity of the first extension line is implicitly indicated by the extension number display next to the phone line button itself.
telephony-service
service dnis overlay
CME-Topic 16: Hunt Group Configuration
The ephone-hunt Command
The ephone-hunt command gives you a simple way to configure a sequential call group based on a list of extension numbers. You can configure up to ten ephone-hunt groups in a Cisco CME system (as of CME 3.0). Each ephone-hunt group can contain a list of up to ten extension numbers.
You can choose from three ephone-hunt modes:
Sequential mode This gives a simple ordered list of extension numbers. Each extension number in the list is tried in turn, always starting from the beginning of the list. If the end of the list is reached without finding an available number, the call is forwarded to a number configured as a final destination.
Peer mode This gives a circular list of extension numbers. The starting point in the list for a new call is set by the last number tried for the preceding call. Because the list is circular, you have to set a parameter to limit how many times a call can be sequenced from one extension to the next. This value has to be less than the global call forwarding hop count limit set for the entire Cisco CME system by the max-redirect command. You have to do this to avoid an infinite hunting loop. You control it by setting the maximum number of hops for the call in the ephone-hunt command’s subcommands. As soon as the maximum number of hops has been reached, the call is forwarded to the number defined as the final destination for the hunt group.
Longest idle This also gives a circular list of extension numbers. The starting point in the list for a new call is set by the number that has been on-hook for the longest period of time. Again, because the list is circular, you have to set a parameter to limit how many times a call can be sequenced from one extension to the next. As soon as the maximum number of hops has been reached, the call is forwarded to the number defined as the final destination for the hunt group. The longest idle option was introduced in Cisco CME 3.2.
ephone-hunt 1 sequential
pilot 5001
list 1001, 1003, 1007, 1008
final 6001
preference 1
timeout 15
ephone-hunt 2 peer (or longest-idle)
pilot 5002
list 1002, 1003, 1008, 1009
final 6002
hops 3
preference 1
timeout 15
When you use the ephone-hunt command and enter a list of numbers, here’s what happens:
The system searches for all ephone-dn entries that have primary numbers that match the ephone-hunt list.
For each ephone-dn that matches, the ephone-dn builds an additional dial peer. This dial peer has a number that’s derived from the ephone-hunt pilot number plus the relative position of the matched number in the ephone-hunt list. The dial peer also includes the virtual voice port number from the matching ephone-dn.
CME-Topic 17: Network Directory
User directory is very cool features which allow end users to search for extension for any specific user. When we are defining ephone-dn with name parameters it will automatically define directory for end users which they can view by pressing “Directories” button on the phone.
You can also define static entries for directory using directory command in telephony-service mode for any pattern.
telephony-service
service dnis dir-lookup
directory entry 1 5550500 name Shafqut Hamid
directory entry 2 5550501 name Shamid
CME-Topic 18: Call Forwarding Configuration
You can use call forwarding to provide simple forms of call coverage. Cisco CME supports call forwarding for busy, no-answer, and unconditional (or call-forward all). When you use call forwarding to provide call coverage, the called number for the call changes. This can affect what is displayed on the IP phone receiving the forwarded call and entry into voice mail.
ephone-dn 4 dual-line
number 1001
name Shafqut Hamid
call-forward busy 1007
call-forward noan 1007 timeout 20
ephone-dn 5 dual-line
number 1007
name Shamid
call-forward busy 1001
call-forward noan 1001 timeout 20
There’s an issue with this configuration, because it potentially creates an infinite forwarding loop. You can limit the number of times the call forwarding loop is traversed by setting the max-redirect command under telephony-services. The max-redirect command has a range of 5 to 20 and a default value of five. This is a global command and limits call forwarding system-wide.
The other thing which you should consider while allowing call forward, is to define call-forward pattern which will restrict the user to enable forwarding to certain numbers not any number. You can also use digit manipulation while forwarding calls
telephony-service
max-redirect 5
call-forward pattern . . . .
The other way to restrict users to a specific length of call forwarding number from the phone is using call-forward max-length command under ephone-dn. If you will set this parameter to “0” then call forwarding feature will be disabled and soft key on the phone will be grayed out.
ephone-dn 5 dual-line
number 1007
name Shafqut Hamid
call-forward max-length 4
call-forward busy 1001
call-forward noan 1001 timeout 20
CME-Topic 19: Call Transfer
We have to look into call transfer in two prospective
User Prospective
System Prospective
User can transfer call using soft key on the phone which can be consulted or blind transfer according to the system configuration. You can configure call transfer feature on the system which give you following options
full-blind: Perform call transfers without consultation using H.450.2 or SIP REFER standard methods
full-consult: Perform H.450.2/SIP call transfers with consultation using second phone line if available, fallback to full-blind if second line unavailable. This is the recommended mode for most systems. See also ‘supplementary-service’ commands under ‘voice service voip’ and dial-peer.
local-consult: Perform call transfers with local consultation using second phone line if available, fallback to blind for non-local consultation/transfer target. Uses Cisco proprietary method.
The following commands required to configure call transfer
telephony-service
transfer-system {full-blind|full-consult|local-consult}
transfer-pattern . . . .
Call transfer-pattern command will add some security against toll fraud.
CME-Topic 20: Call Park
Typically, when you place a call on hold, you can retrieve the call only from the original phone where you placed the call on hold. Although system let you to break this rule by using shared line which allow you to retrieve this call from any phone configured with the same extension.
Call park is enhanced feature which allow you to pick up call put on hold from any phone across the organization.
Call park “parks” the caller on hold at an extension rather than on a specific line.
Any IP phone that is able to dial the park extension number can retrieve the call.
The call park system works by finding free ephone-dns in the Cisco Unified CME configuration that you have not assigned to an IP phone and have specifically designated as a call park slot.
You can either allow CME to park calls randomly at the first available ephone-dn or allow users to choose the extension where the call is parked. Each of these scenarios fits different environments.
Calls being parked at random extensions might work well for a warehouse environment with a voice paging system. When an employee has a call, the receptionist could announce, “Larry, you have a call on 5913? over the loudspeaker, at which point Larry could go to a phone and dial the extension to pick up the call on hold.
Choosing extensions would work well for an electronics superstore in which each department responded to a known extension number. For example, software could be extension 301, cameras could be extension 302, and so on. The receptionist can then park multiple calls on a single call park number (this would require multiple ephone-dns assigned the same extension). As the specific department retrieves the calls, CME would distribute them in the order in which they were parked. The call parked longest would be answered first. You can configure call park simply by adding an ephone-dn designated for call park purposes.
This can be implemented in very simple way using command park-slot in ephone-dn configuration mode
ephone-dn 5
number 3001
park-slot
Park-slot has the following options
reserved-for <DN>
timeout <seconds>
limit <count>
notify <dn>
only
recall
transfer <dn>
alternate <dn>
retry <seconds>
CME(config)# ephone-dn 50
CME(config-ephone-dn)# number 3001
CME(config-ephone-dn)# name Maintenance
CME(config-ephone-dn)# park-slot
CME(config-ephone-dn)# exit
CME(config)# ephone-dn 51
CME(config-ephone-dn)# number 3002
CME(config-ephone-dn)# name Sales
CME(config-ephone-dn)# park-slot ?
reserved-for reserves this park slot for the exclusive use of the phone with the extension indicated by the transfer target extension number and timeout set call park timeout.
CME(config-ephone-dn)# park-slot timeout ?
<0-65535> Specify the park timeout (seconds) before the call is returned to the number it was parked from.
CME(config-ephone-dn)# park-slot timeout 60 ?
Limit Set call park timeout count limit
CME(config-ephone-dn)# park-slot timeout 60 limit ?
<1-65535> Specify the number of park timeout cycles before the call is disconnected
CME(config-ephone-dn)# park-slot timeout 60 limit 10 ?
notify Define additional extension number to notify for park timeout
recall recall transfer back to originator phone after timeout
transfer Transfer to originator or specified destination after timeout limit
exceeded
Notify Define additional extension number to notify for park timeout recall recall transfer back to originator phone after timeout transfer, transfer to originator or specified destination after timeout limit exceeded
CME(config-ephone-dn)# park-slot timeout 60 limit 10 recall ?
alternate Transfer to alternate target if original target is busy
retry Set recall/transfer retry interval if target is in use
Alternate transfer to alternate target if original target is busy retry Set recall/transfer retry interval if target is in use
CME(config-ephone-dn)# park-slot timeout 60 limit 10 recall alternate 1006 ret
CME-Topic 21: Call Pickup
Answers another ringing phone
Three types of call pickup
Local Group Pickup: A user can pick up and answer a ringing phone by pressing the GPickup button and pressing an asterisk (*) on his local phone.
Directed Group Pickup: A user can pick up another ringing phone directly by pressing the pickup key and dialing the DN of the ringing phone. This action allows CME to transfer the call to the local phone.
Other Group Pickup: A user can pick up a ringing phone by pressing the GPickUp button and entering the other group number on his local phone.
Configuring Call Pickup is very simple, just divide phones into groups and then assign each ephone-dn to specific pickup group
CME(config)# ephone-dn 1
CME(config-ephone-dn)# pickup-group 5509
CME(config-ephone-dn)# ephone-dn 2
CME(config-ephone-dn)# pickup-group 5509
CME(config-ephone-dn)# ephone-dn 3
CME(config-ephone-dn)# pickup-group 5509
CME(config-ephone-dn)# ephone-dn 4
CME(config-ephone-dn)# pickup-group 5510
CME(config-ephone-dn)# ephone-dn 5
CME(config-ephone-dn)# pickup-group 5510
CME(config-ephone-dn)# ephone-dn 6
CME(config-ephone-dn)# pickup-group 5510
If any extension in group is ringing then other can pick up that call by simply dialing pickup-group number after pressing GPickUp or PickUp. Some consideration
If multiple phones are ringing then CME will offer oldest call
In case of single pickup group, user don’t have to dial pickup-group number
CME-Topic 22: Intercom
Intercom configurations are common in traditional phone systems. This feature allows an administrative assistant and executive to work closely together by having a speakerphone between them technically, the way intercom deployments work is through a speed-dial and auto-answer speed-dial configuration. If the administrative assistant presses the button configured as an intercom, it speed dials the executive’s phone, which auto-answers the call on muted speakerphone. To establish two-way communication, the executive deactivates mute (by pressing the Mute button). Understanding this helps make the intercom configuration much clearer.
To configure intercom functionality, you must configure two new ephone-dns, one for each side of the intercom connection. These intercom lines should be assigned a number, just like any other ephone-dn. However, in order to prevent others from accidentally (or purposely) dialing the intercom and ending up on muted speakerphone for a random IP phone, the number should be something users cannot dial from other IP phones.
CME(config)# ephone-dn 11
CME(config-ephone-dn)# number A100
CME(config-ephone-dn)# intercom A101 label “Manager”
CME(config-ephone-dn)# exit
CME(config)# ephone-dn 22
CME(config-ephone-dn)# number A101
CME(config-ephone-dn)# intercom A100 label “Assistant”
CME(config-ephone-dn)# exit
CME(config)# ephone 2
CME(config-ephone)# button 2:11
CME(config-ephone)# restart
CME(config-ephone)# exit
CME(config)# ephone 2
CME(config-ephone)# button 2:22
CME(config-ephone)# restart
Notice the number assigned to ephone-dn 11 is A100. You cannot dial this number from a Cisco IP phone keypad, but you can assign it to a speed-dial button. The intercom command acts like a speed-dial button on the ephone-dn. In the case of ephone-dn 11, the command intercom A101 dials the number A101, which is assigned to ephone-dn 22. Because ephone-dn 22 is also configured with the intercom command, it auto-answers the incoming call on muted speakerphone. The label syntax allows you to assign a logical name to the speed-dial; otherwise, the A101 or A100 label will show up next to the line button on the phone. There are three other arguments you can use with the intercom command to tune the functionality:
barge-in: Automatically places an existing call on hold and causes the intercom to immediately answer.
no-auto-answer: Causes the phone to ring rather than auto-answer on speakerphone
no-mute: Causes the intercom to answer with un-muted speakerphone rather than muted. While this is beneficial to allow immediate two-way conversation, you also run the risk of one side barging into existing conversations or background noise.
CME-Topic 23: Paging Configuration
Paging is a one-way, speakerphone based announcement
Accomplished by creating a paging number and assigning phones to the paging number
Each IP phone can only be assigned one paging number
Supports unicast (mean each phone will receive its own audio stream) or multicast (all phones will listen to same single audio stream)
Support multiple paging groups which enables you to assign one phone to more than one paging group
CME(config)#ephone-dn 80
CME(config-ephone-dn)#number 5555
CME(config-ephone-dn)#paging
CME(config-ephone-dn)#exit
CME(config)#ephone 1
CME(config-ephone)#paging-dn 80
CME(config-ephone)#exit
CME(config)#ephone 2
CME(config-ephone)#paging-dn 80
CME(config-ephone)#exit
You can use nested configuration to use multiple paging group in a single group
CME(config)#ephone-dn 81
CME(config-ephone-dn)#number 6666
CME(config-ephone-dn)#paging
CME(config-ephone-dn)#paging group 80,81
CME(config-ephone)#exit
CME(config)#ephone 2
CME(config-ephone)#paging-dn 80
CME(config-ephone)#exit
For multicast paging use the following in paging group configuration mode
CME(config-ephone-dn)#paging ip A.B.C.D port 2000
CME-Topic 24: After Hours Call Blocking
After hours call blocking blocks specific number for a specific time period
Configured from telephony service mode
Phones can be exampled (always or through pins)
24-7 block patterns can never be allowed
After-hours call blocking has three major steps of configuration:
Define days and/or hours of the day that your company considers off-hours.
Specify patterns that you would like to block during the times specified in Step 1.
Create exemptions to the policy, if needed.
CME(config-telephony)# after-hours date dec 25 00:00 00:00
CME(config-telephony)# after-hours day fri 17:00 8:00
CME(config-telephony)# after-hours day thu 17:00 8:00
CME(config-telephony)# after-hours day wed 17:00 8:00
CME(config-telephony)# after-hours day tue 17:00 8:00
CME(config-telephony)# after-hours day mon 17:00 8:00
CME(config)# telephony-service
CME(config-telephony)# after-hours block pattern 1 91……….
CME(config-telephony)# after-hours block pattern 2 9011T
CME(config-telephony)# exit
CME(config)#ephone 1
CME(config-ephone)# after-hours exempt
You can use alternate way to exempt phone by using PIN, because users have to give PIN to dial blocked patterns during after-hours. User can use Login (This SoftKey will be active after configure login under telephony-service) soft key with key configured to avail dialing facility during off-hours
CME(config-telephony)# login timeout 120 clear 23:00
CME(config-telephony)# exit
CME(config)#ephone 2
CME(config-ephone)# pin 1234
CME(config-ephone)# restart
CME-Topic 25: Automatic Line Selection
This feature is very useful on multi-line IP phones where lifting the handset automatically selects the first ringing line on the phone or, if no line is ringing, selects the first available idle line for outgoing calls. This is the default behavior for all multi-line IP phones. But in some situations you require that a specific line button should be explicitly pressed to select an outgoing line or to answer an incoming call. In Cisco CME 3.0 and later, you have the flexibility to assign the type of line selection that each IP phone uses.
The Automatic Line Selection feature allows you to specify, on a per-phone basis, the line that is selected when you pick up a phone handset. Any of the following behaviors can be assigned on a per-phone basis:
Automatic line selection Picking up the handset answers the first ringing line or, if no line is ringing, selects the first idle line. Use the auto-line command with no keyword or argument. This is the default.
Manual line selection (no automatic line selection) Pressing the Answer soft key answers the first ringing line, and pressing a line button selects a line for an outgoing call. Picking up the handset does not answer calls or provide dial tone.
Use the no auto-line command. Automatic line selection for incoming calls only. Picking up the handset answers the first ringing line, but if no line is ringing, it does not select an idle line for an outgoing call. Pressing a line button selects a line for an outgoing call.
Use the auto-line incoming command. Automatic line selection for outgoing calls only. Picking up the handset for an outgoing call selects the line associated with the button-number argument. If a button number is specified and the line associated with that button is unavailable (because it is a shared line in use on another phone), no dial tone is heard when the handset is lifted. You must press an available line button to make an outgoing call. Incoming calls must be answered by pressing the Answer soft key or pressing a ringing line button.
Use the auto-line command with the button-number argument. Automatic line selection for incoming and outgoing calls. Pressing the Answer soft key or picking up the handset answers an incoming call on the line associated with the specified button. Picking up the handset for outgoing calls selects the line associated with the specified button.
Use the auto-line command with the button-number argument and answer-incoming keyword.
ephone 5
auto-line 5 answer-incoming
CME-Topic 26: MOH Configuration
MOH is an audio stream which can be played to PSTN and VoIP G.711 or G.729 callers who are placed on hold by phones in a Cisco Unified CME system. This audio stream is intended to reassure callers that they are still connected to their calls.
When the phone receiving MOH is part of a system that uses a G.729 codec, transcoding is required between G.711 and G.729. The G.711 MOH must be translated to G.729.
Note: Because of compression, MOH using G.729 is of significantly lower fidelity than MOH using G.711.
Below are some MOH resources
Flash Memory: MOH can be played from local stored files in flash memory without the requirement of external source
Live Feed: The multicast audio stream has minimal delay for local IP phones. The MOH stream for PSTN callers is delayed by a few seconds. If the live feed audio input fails, callers on hold hear silence.
Live Feed and Flash Memory: This is the preferred method if you want to use Live Feed, so that if Live Feed fails then users still have MOH from local flash memory
Below is very basic configuration for MOH
CME(config-telephony)# moh {filename.wav | filename.au}
CME(config-telephony)# multicast moh 239.1.1.30 port 2000
Cisco Unified CME 8.0 MOH enhancement allows you to create MOH groups and assign ephone extension numbers to these MOH groups to receive different media streams. Callers to the extension numbers configured under the MOH groups can listen to different MOH media streams when they are placed on hold. Following precedence rules are applicable when an ephone caller is placed on hold:
MOH group defined for internal calls takes highest precedence
MOH group defined in ephone-dn takes the second highest precedence
MOH group defined in ephone-dn-template takes precedence if MOH group is not defined in ephone-dn or internal call.
Extension numbers defined in a MOH-group has the least precedence
Phones not associated with any MOH groups default to the MOH parameters defined in the moh command under telephony-service configuration mode.
router# show voice moh-group
telephony-service
moh alaska.wav
Moh multicast 239.1.1.1 port 16384 route 10.1.4.31 10.1.1.2
voice moh-group 1
description this moh group is for sales
moh flash:/hello.au
multicast moh 239.1.1.1 port 16386 route 239.1.1.3 239.1.1.3
extension-range 1000 to 1999
extension-range 2000 to 2999
extension-range 3000 to 3999
extension-range A1000 to A1999
voice moh-group 2
description (not configured)
moh flash1:/minuet.au
multicast moh 239.23.4.10 port 2000
extension-range 7000 to 7999